package org.example.shop.order.service;

import org.example.shop.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("shop-user")
public interface UserRemoteService {

    @GetMapping("/user/{uid}")
    User findByUid(@PathVariable("uid") Integer uid);
}
